package com.acme.bankapp.domain.bank;


public class Client {
	private Account acc;
	private Gender gender;
	private String name;
	
	public Client(Account account){
		 this.acc = account;
	}
	
	public Client(Account account,Gender gender,String name){
		 this(account);
		 this.gender = gender;
		 this.name = name;
	}
	
	public Account getAccount() {
		return acc;
	}

	public void getClientSalutation(){
		System.out.println("Greetings, "+gender.out()+" "+name);
	}
}